@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <#input id="id" name="商品ID" value="${item.id}" underline="true"/>

                            <#input id="name" name="商品名称" value="${item.name}" underline="true"/>
                            <#input id="price" name="商品单价" value="${item.price}" underline="true"/>
                            <#input id="unit" name="计量单位" value="${item.unit}" underline="true"/>
                            <#input id="url" name="商品页面url" value="${item.url}" underline="true"/>
                            <#input id="pictureUrl" name="商品展示图片url" value="${item.pictureUrl}" underline="true"/>
                            <#input id="madeIn" name="商品产地" value="${item.madeIn}" />
                </div>

                <div class="col-sm-6">
                            <#input id="description" name="商品描述" value="${item.description}" underline="true"/>
                            <#input id="postscript" name="备注" value="${item.postscript}" underline="true"/>
                            <#input id="deleted" name="是否逻辑删除" value="${item.deleted}" underline="true"/>
                            <#input id="modifier" name="修改者" value="${item.modifier}" underline="true"/>
                            <#input id="modifyTime" name="修改时间" value="${item.modifyTime}" underline="true"/>
                            <#input id="creator" name="创建者" value="${item.creator}" underline="true"/>
                            <#input id="createTime" name="创建时间" value="${item.createTime}" />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="CommodityInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="CommodityInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/commodity/commodity/commodity_info.js"></script>
@}
